import moment from 'moment'
export function DateFormat(value, fmt) {
  if(!value){
    return;
  }
  fmt = fmt ? fmt : 'YYYY-MM-DD HH:mm:ss'
  return moment(value,fmt);
}
